Anaglyph image

Anaglyph images are used to provide a stereoscopic 3D effect, when viewed with glasses where the two lenses are different (usually chromatically opposite) colors, such as red and cyan. Images are made up of two color layers, superimposed, but offset with respect to each other to produce a depth effect. Usually the main subject is in the center, while the foreground and background are shifted laterally in opposite directions. The picture contains two differently filtered colored images, one for each eye. When viewed through the "color coded" "anaglyph glasses", they reveal an integrated stereoscopic image. The visual cortex of the brain fuses this into perception of a three dimensional scene or composition.

Anaglyph images have seen a recent resurgence due to the presentation of images and video on the Internet, Blu-ray Discs, CDs, and even in print. Low cost paper frames or plastic-framed glasses hold accurate color filters that typically, after 2002, make use of all 3 primary colors. The current norm is red and cyan, with red being used for the left channel. The cheaper filter material used in the monochromatic past dictated red and blue for convenience and cost. There is a material improvement of full color images, with the cyan filter, especially for accurate skin tones.

Video games, theatrical films, and DVDs can be shown in the anaglyph 3D process. Practical images, for science or design, where depth perception is useful, include the presentation of full scale and microscopic stereographic images. Examples from NASA include Mars Rover imaging, and the solar investigation, called STEREO, which uses two orbital vehicles to obtain the 3D images of the sun. Other applications include geological illustrations by the United States Geological Survey, and various online museum objects. A recent application is for stereo imaging of the heart using 3D ultra-sound with plastic red/cyan glasses.

Anaglyph images are much easier to view than either parallel (diverging) or crossed-view pairs stereograms. However, these side-by-side types offer bright and accurate color rendering, not easily achieved with anaglyphs. Recently, cross-view prismatic glasses with adjustable masking have appeared, that offer a wider image on the new HD video and computer monitors.

Contents

History

The first method to produce anaglyph images was developed in 1853 by Wilhelm Rollmann in Leipzig, Germany.[1]

Producing anaglyph images

In historical methods using camera filters, on film, two images from the perspective of the left and right eyes were projected or printed together as a single image, one side through a red filter and the other side through a contrasting color such as blue or green or mixed cyan. As outlined below, one may now, typically, use an image processing computer program to simulate the effect of using color filters, using as a source image a pair of either color or monochrome images.

In the 1970s filmmaker Stephen Gibson filmed direct anaglyph blaxploitation and adult movies. His "Deep Vision" system replaced the original camera lens with two color-filtered lens focussed on the same film frame.[2] In the 1980s, Gibson patented his mechanism.[3]

Popular professional programs such as Adobe Photoshop provide the basic digital tools for processing of anaglyphs. They do not provide instruction for anaglyph in their basic documentation. Various websites offer free instruction related to 3D for Photoshop. Simple, low cost programs, dedicated to anaglyph creation, are also available. In recent simple practice, the left eye image is filtered to remove blue & green. The right eye image is filtered to remove red. The two images are usually positioned in the compositing phase in close overlay registration (of the main subject). In Photoshop, for example, a function called "screen" in the "layers" (F7) option allows the two filtered layers to be combined transparently on top of each other, although the compositing can also be done by pasting the selected channels. The filtration itself can easily be done in the "curves" function, which allows removal of any red, green, or blue layer with a simple slider. Experienced Photoshop users can sometime process a good cross-view 3D pair into a color anaglyph in 2 to 5 minutes if little fine-tuning is required. Various steps can also be used to maximize the quality of the result. These may include size matching of the frames to within a few pixels, rotation (if needed), gamma leveling, and digital sharpening of the softer red image. It should be noted that both the red layer in the image and the red filter in the glasses contain no visible blue or green color information, but masked colors do exist that the eyes cannot see through a red filter that can interact with the colors contained in the cyan image after compositing and blending.

There also exists a method for making anaglyphs, using only one image in combination with a depth map, that yields acceptable results.[4]

How anaglyph works

Viewing anaglyphs through appropriately colored glasses results in each eye seeing a slightly different picture. In a red-blue anaglyph, for instance, the eye covered by the red filter sees the red parts of the image as "white", and the blue parts as "black" (with the brain providing some adaption for color); the eye covered by the blue filter perceives the opposite effect. True white or true black areas are perceived the same by each eye. The brain blends together the image it receives from each eye, and interprets the differences as being the result of different distances. This creates a normal stereograph image without requiring the viewer to cross his or her eyes.

Viewing

A pair of eyeglasses with two filters of the same colors, once used on the cameras (or now simulated by image processing software manipulations) is worn by the viewer. In the case above, the red lens over the left eye allows only the red part of the anaglyph image through to that eye, while the cyan (blue/green) lens over the right eye allows only the blue and green parts of the image through to that eye. Portions of the image that are red will appear dark through the cyan filter, while portions of colors composed only of green and blue will appear dark through the red filter. Each eye therefore sees only the perspective it is supposed to see.

Red sharpened anaglyph glasses

Simple paper, uncorrected gel glasses, cannot compensate for the 250 nanometer difference in the wave lengths of the red-cyan filters. With simple glasses, the red filtered image is somewhat blurry, when viewing a close computer screen or printed image. The (RED) retinal focus differs from the image through the (CYAN) filter, which dominates the eyes' focusing. Better quality, molded acrylic glasses frequently employ a compensating differential diopter power (a spherical correction) to balance the red filter focus shift relative to the cyan, which reduces the innate softness, and diffraction of red filtered light. Low power reading glasses worn along with the paper glasses also sharpen the image noticeably.

The correction is only about 1/2 + diopter on the red lens. However, some people with corrective glasses are bothered by difference in lens diopters, as one image is a slightly larger magnification than the other. Though endorsed by many 3D websites, the diopter "fix" effect is still somewhat controversial. Some, especially the nearsighted, find it uncomfortable. There is about a 400% improvement in acuity with a molded diopter filter, and a noticeable improvement of contrast and blackness. The American Amblyopia Foundation uses this feature in their plastic glasses for school screening of children's vision, judging the greater clarity as a significant plus factor.

Anachrome filters

Plastic glasses, developed in recent years, provide both the diopter "fix" noted above, and a change in the cyan filter. The formula provides intentional "leakage" of a minimal (2%) percentage of red light with the conventional range of the filter. This assigns two-eyed "redness cues" to objects and details, such as lip color and red clothing, that are fused in the brain. Care must be taken, however, to closely overlay the red areas into near-perfect registration, or "ghosting" can occur. Anachrome formula lenses work well with black and white, but can provide excellent results when the glasses are used with conforming, "anachrome friendly" images. The US Geological Survey has thousands of these "conforming", full-color images, which depicts the geology and scenic features of the U.S. National Park system. By convention, anachrome images try to avoid excess separation of the cameras, and parallax, thereby reducing the ghosting that the extra color bandwidth introduces to the images.

Traditional anaglyph processing methods

One monochromatic method uses a stereo pair available as a digitized image, along with access to general-purpose image processing software. In this method, the images are run through a series of processes and saved in an appropriate transmission and viewing format such as JPEG.

Several computer programs will create color anaglyphs without Adobe Photoshop, or a traditional, more complex compositing method can be used with Photoshop. Using color information, it is possible to obtain reasonable (but not accurate) blue sky, green vegetation, and appropriate skin tones. Color information appears disruptive when used for brightly colored and/or high-contrast objects such as signs, toys, and patterned clothing when these contain colors that are close to red or cyan.

Anaglyphic processes cannot always reconstruct full-color 3D images. Colors which are combinations of red-green (yellow);and red-blue (magenta) reproduce. However, to get full-color photos or movies, a polarizing filter system (or an adapted Russian LCD shutter system) must be used. Polarizing filters steer the vibrations of light analogous to the effect of a window blind. Two synchronized projectors overlap the images into an aluminum screen. The shutter system, on the other hand, switches back and forth rapidly for left- and right-eye images, synchronized to the image input, alternating so fast that the eye cannot detect the changes. This is similar to how LCD shutter glasses work.

According to entertainment trade papers, 3D movies are now more popular than ever. The modern processes allow maximum comfort and minimum eyestrain. 3D provides an entertainment experience still not possible with television (though certain experimental processes, the quasi-holographic "volumetric displays", have been used, for example, to show real images of cars in a display setting, with no viewing glasses required).

Depth adjustment

(The adjustment suggested in this section is applicable to any type of stereogram but is particularly appropriate when anaglyphed images are to be viewed on a computer screen or on printed matter.)

Those portions of the left and right images that are coincident will appear to be at the surface of the screen. Depending upon the subject matter and the composition of the image it may be appropriate to make this align to something slightly behind the nearest point of the principal subject (as when imaging a portrait). This will cause the near points of the subject to "pop out" from the screen. For best effect, any portions of a figure to be imaged forward of the screen surface should not intercept the image boundary, as this can lead to a discomforting "amputated" appearance. It is of course possible to create a three-dimensional "pop out" frame surrounding the subject in order to avoid this condition.

If the subject matter is a landscape, you may consider putting the frontmost object at or slightly behind the surface of the screen. This will cause the subject to be framed by the window boundary and recede into the distance. Once the adjustment is made, trim the picture to contain only the portions containing both left and right images. In the example shown above, the upper image appears (in a visually disruptive manner) to spill out from the screen, with the distant mountains appearing at the surface of the screen. In the lower modification of this image the red channel has been translated horizontally to bring the images of the nearest rocks into coincidence (and thus appearing at the surface of the screen) and the distant mountains now appear to recede into the image. This latter adjusted image appears more natural, appearing as a view through a window onto the landscape.

Scene composition

In the toy images to the right, the shelf edge was selected as the point where images are to coincide and the toys were arranged so that only the central toy was projecting beyond the shelf. When the image is viewed the shelf edge appears to be at the screen, and the toy's feet and snout project toward the viewer, creating a "pop out" effect.

Dual purpose, 2D or 3D "compatible anaglyph" technique

Since the advent of the Internet, a variant technique has developed where the images are specially processed to minimize visible mis-registration of the two layers. This technique is known by various names, the most common, associated with diopter glasses, and warmer skin tones, is Anachrome. The technique allows most images to be used as large thumbnails, while the 3D information is encoded into the image with less parallax than conventional anaglyphs.

Possible color schemes

Anaglyph images can use several possible color schemes[5][6] (sometimes the eye colors are swapped). Under the principle of trichromacy, the three primary colors of red, green, and blue act as the filters, and ideally, if the colors are to be mixed, the two eyes should not both have any of those colors, or else ghosting occurs. As such, there are only six possible combinations of colors possible for pure anaglyphs: red-green, red-blue, green-blue (extremely rare), red-cyan (green+blue), green-magenta (red+blue), or blue-yellow (red+green). Modern proprietary companies have developed schemes (many of which are patented or patent pending) that purposely integrate a limited amount of ghosting in one or both eyes that purportedly makes anaglyph images more pleasant to view, but these schemes generally remain based in one of the six basic combinations. In the cases of lighter colors being paired with darker ones (e.g. red-cyan, red-green or especially yellow-blue), the lighter color may need to be darkened, both to allow both eyes to work equally and to avoid introducing a possibly undesired Pulfrich effect.

As different colors are rendered with fidelity depending on the used scheme, the choice of the proper color scheme is dictated by the image to be viewed. Retinal rivalry can be reduced by lowering the color saturation of the scene, ghosting can be reduced by removing some of the opposite colors.

scheme left eye L R right eye color rendering description
red-green pure red     pure green monochrome the predecessor of red-cyan; ghosting on computer screens as the green filter lets too much red through. Used for printed materials, e.g. books and comics.
red-blue pure red     pure blue monochrome no ghosting on screens as there is no overlap between the colors the filters let through. Often used for printed materials.
red-cyan pure red     pure cyan (green+blue) color (poor reds, good greens) patent-free, limited color perception, currently the most common in use; images available in full version (red channel has only red color) and half version (red channel is a red-tinted grayscale image, yields worse colors but less retinal rivalry)
anachrome dark red     cyan (green+blue+some red) color (poor reds) a variant of red-cyan; left eye has dark red filter, right eye has a cyan filter leaking some red; better color perception, can show red hues better than red-cyan
mirachrome dark red+lens     cyan (green+blue+some red) color (poor reds) same as anachrome, with addition of a weak positive correction lens on the red channel to compensate for the chromatic aberration of eyes.
Trioscopic pure green     pure magenta (red+blue) color (better reds, oranges and wider range of blues than red/cyan) Same principle as red-cyan, somewhat newer. Less chromatic aberration, as the red and blue in magenta balance well with green.
INFICOLOR complex magenta     complex green color (almost full and pleasant natural colors with excellent skin tones perception) Developed by the TriOviz company, INFICOLOR 3D is a newer, patent pending stereoscopic system, first demonstrated at International Broadcast Convention in 2007 and deployed in 2010. It works with traditional 2D screens and TV sets (LCD, Plasma) and uses glasses with brand new complex color filters and dedicated image processing that allows a natural colors perception with a pleasant 3D experience. When observed without glasses only some slight doubling can be noticed in the background of the action which allows watching the movie in 2D without the glasses. This is not possible with traditional brute force anaglyphic systems.[7][8][9][10][11][12]
ColorCode 3D amber (red+green+neutral grey)     pure dark blue (+optional lens) color (almost full-color perception) (also named yellow-blue, ochre-blue, or brown-blue) a newer system deployed in 2000s; better color rendering, but dark image, requires dark room or very bright image. Left filter darkened to equalize the brightness received by both eyes as the sensitivity to dark blue is poor. Older people may have problems perceiving the blue. Like in the mirachrome system, the chromatic aberration can be compensated with a weak negative correction lens (-0.7 diopter) over the right eye.[13] Works best in the RG color space. The weak perception of the blue image may allow watching the movie without glasses and not seeing the disturbing double-image.[14]
magenta-cyan magenta (red+blue)     cyan (green+blue) color (better than red-cyan) experimental; similar to red-cyan, better color rendering and less retinal rivalry. Blue channel is blurred horizontally by the amount equal to the average parallax, and visible to both eyes; the blurring prevents eyes from using the blue channel to construct stereoscopic image and therefore prevents ghosting, while supplying both eyes with color information.[15]
Infitec white (Red 629 nm, Green 532 nm, Blue 446 nm)     white (Red 615 nm, Green 518 nm, Blue 432 nm) color (full color) uses narrow-band interference filters, requires corresponding interference filters for projectors, technical requirements comparable with polarization-based schemes. Not usable with standard CRT, LCD, etc. displays.

In theory, under trichromatic principles, it is possible to introduce a limited amount of multiple-perspective capability (a technology not possible with polarization schemes). This is done by overlapping three images instead of two, in the sequence of green, red, blue. Viewing such an image with red-green glasses would give one perspective, while switching to blue-red would give a slightly different one. In practice, this remains rare. It is also theoretically possible to incorporate rod cells, which optimally perform at a dark cyan color, in well-optimized mesopic vision, to create a fourth filter color and yet another perspective; however, this has not yet been demonstrated, nor would most televisions be able to process such tetrachromatic filtering.

Applications

In DVD & Blu-ray Disc home release of theatrical 3D films

Disney Studios released Hannah Montana & Miley Cyrus: Best of Both Worlds Concert in August 2008, its first anaglyph 3D Blu-ray Disc. This was shown on the Disney Channel with red-cyan paper glasses in July 2008.

The greater clarity of Blu-ray Disc, and the learning curve at Disney, has greatly improved red-cyan anaglyph, especially in relation to close overlay of the 3D images, such as they have followed in their animation projects.

However, on Blu-ray Disc anaglyph techniques have more recently been supplanted by the Blu-ray 3D format, which uses Multiview Video Coding (MVC) to encode full stereoscopic images. Though Blu-ray 3D does not require a specific display method, and some Blu-ray 3D software players (such as Arcsoft TotalMedia Theatre) are capable of anaglyphic playback, most Blu-ray 3D players are connected via HDMI 1.4 to 3D televisions and other 3D displays using more advanced stereoscopic display methods, such as alternate-frame sequencing (with active shutter glasses) or FPR polarization (with the same passive glasses as RealD theatrical 3D).

In comics

These techniques have been used to produce 3-dimensional comic books, mostly during the early 1950s, using carefully constructed line drawings printed in colors appropriate to the filter glasses provided. The material presented were typically short graphic novels of a war story, horror, or crime/detective nature, similar in content to some modern Japanese manga. These genres were largely eliminated in the US by the rise of the Comics Code Authority. Anaglyphed images were of little interest for use in the remaining comics, which emphasized bright and colorful images, unsuited for use with the viewing and production methods available at the time, which were usually red-green rather than red-cyan.--

In science and mathematics

Three dimensional display can also be used to display scientific data sets, or to illustrate mathematical functions. Anaglyph images are suitable both for paper presentation, and non-moving video display. They can easily be included in science books, and viewed with cheap anaglyph glasses.

Also, chemical structures, particularly for large systems, can be difficult to represent in two dimensions without omitting geometric information. Therefore most chemistry computer software can output anaglyph images, and some chemistry textbooks include them.

Today, there are more advanced solutions for 3D imaging available, like shutter glasses together with fast monitors. These solutions are already extensively used in science. Still, anaglyph images provide a cheap and comfortable way to view scientific visualizations.

Other

On April 1, 2010, Google launched a feature in Google Street View that shows anaglyphs rather than regular images, allowing users to see the streets in 3D.[16]

See also

References

External links